package com.gxa.entity.discrepancy;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.gxa.entity.community.UserList;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_passage")
@ApiModel(value = "Passage对象", description = "")
public class Passage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("人员通行记录id ")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("通行位置 ")
    @TableField("passage_places")
    private String passagePlaces;

    @ApiModelProperty("通行方式 ")
    @TableField("passage_way")
    private String passageWay;

    @ApiModelProperty("通行时间 ")
    @TableField("records_time")
    private Date recordsTime;

    @ApiModelProperty("通行照片 ")
    @TableField("passage_pic")
    private String passagePic;

    @ApiModelProperty("用户id ")
    @TableField("user_list_id")
    private Integer userListId;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;
    //用户信息
    @TableField(exist = false)
    private UserList user;
    //房子名称
    @TableField(exist = false)
    private String houseName;


}
